Skip to content

build(renovate): age-gate the branch-pinned plugins and automerge them - #209

Merged
mbologna merged 1 commit into
mainfrom
fix/plugin-commit-age
Dec 5, 2026
Merged

mbologna merged 1 commit into
mainfrom
fix/plugin-commit-age

Conversation

@mbologna

@mbologna mbologna commented Dec 5, 2026

Copy link
Copy Markdown
Owner

matrix2051 and the EionRobb discord, teams and googlechat plugins are built from a branch, pinned to a commit. Under the git-refs datasource a commit has no date, so the shared preset sends every update to manual review (#208, which proposes commits from yesterday evening).

  • Datasource: custom.github-commits, the same as in mbologna/dotfiles. It lists the branch's newest 100 commits as 1.0.<committer date> releases, each with its releaseTimestamp and SHA.
  • Pins: each # renovate: comment now carries branch= and version=1.0.<date of the pinned commit>. The custom manager moves the version and the SHA together.
  • Rule: the weekly weekend group "plugin branch commits", minimumReleaseAge: 7 days and automerge. A bad upstream push gets a week to surface before it reaches the image infra deploys.
  • Checks: renovate-config-validator passes, and the regex matches all four pins (versions and SHAs checked against GitHub).

After merging, Renovate should close #208. The two commits it proposes (2026-12-04) come back in an automerged PR once they're 7 days old (12-11), on the weekend schedule.

Four components follow a branch, pinned to a commit: matrix2051 and
the EionRobb discord, teams and googlechat plugins. Under git-refs a
commit has no date, so every update waited for a manual review (PR
#208). The custom.github-commits datasource, already used by dotfiles,
gives each commit a dated version, so the 7-day gate holds a new
commit like any release and the weekly plugin PR then merges itself
on green CI.
@mbologna
mbologna merged commit 1a4cc08 into main Dec 5, 2026
14 checks passed
@mbologna
mbologna deleted the fix/plugin-commit-age branch December 5, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant